import random
print(random.random())  # 获取0-1的随机值
print(random.randint(1, 10))  # 获取1-10的随机值
print(random.choice([1, 2, 3, 4, 5]))
print(random.choice("python"))
print(random.choice(["剪刀", "石头", "布"]))
print(random.sample([1, 2, 3, 4, 5], 3))  # 从列表中随机获取3个元素

a = []
n = 5
for i in range(3):
    s = ''
    for j in range(n):
        t = random.randint(65,70)
        s += chr(random.randint(65, 90))
    a.append(s)
